package org.ls.petclinic.pojo.vo;

import org.ls.petclinic.pojo.Owner;
import org.ls.petclinic.pojo.Type;

import java.time.LocalDate;

/**
 * @author 浪矢先生
 * @description
 * @create 2022-12-06 10:16
 */
public class PetsVo {
    /** 主键 */
    private Long id ;
    /** 宠物名 */
    private String name ;
    /** 出生日期 */
    private String birthDate ;
    /** 外键:关联owner表 */
    private Owner owner ;

    private Type type;
    public PetsVo() {
    }

    public PetsVo(Long id, String name, String birthDate, Owner owner, Type type) {
        this.id = id;
        this.name = name;
        this.birthDate = birthDate;
        this.owner = owner;
        this.type = type;
    }

    /** 主键 */
    public Long getId(){
        return this.id;
    }
    /** 主键 */
    public void setId(Long id){
        this.id=id;
    }
    /** 宠物名 */
    public String getName(){
        return this.name;
    }
    /** 宠物名 */
    public void setName(String name){
        this.name=name;
    }
    /** 出生日期 */
    public String getBirthDate(){
        return this.birthDate;
    }

    public Type getType() {
        return type;
    }

    public void setType(Type type) {
        this.type = type;
    }

    public void setBirthDate(String birthDate) {
        this.birthDate = birthDate;
    }

    public Owner getOwner() {
        return owner;
    }

    public void setOwner(Owner owner) {
        this.owner = owner;
    }
}
